package com.candy.blog.dao;

import com.candy.blog.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @version 1.0
 * @author: 南风
 * @description
 * @date: 2021/12/26 20:54
 */
public interface UserRepository extends JpaRepository<User,Long> {

    User findByUsernameAndPassword(String username,String password);
}
